﻿using System.AddIn.Pipeline;
using System.IO;
using System.Windows;

namespace DCT.AddIn.AddInView
{
    [AddInBase]
    public abstract class DCTExtendedFunctionAddInView
    {
        public abstract int VisualPosition { get; }
        public abstract FrameworkElement GetVisual();
        public abstract void UpdateData();
        public abstract void Initialize(HostObject hostObj);
    }

    public abstract class HostObject
    {
        public abstract Stream GetData();
        public abstract void ReportProgress(double progressPercent);
        public abstract void ApplyChanges(Stream xmlChanges);
    }
}
